﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace WidgetLibrary
{
    /// <summary>
    /// Defines the methods that can use Widgets.
    /// </summary>
    interface IWidget
    {
        void GetLanguage();

        void SaveConfiguration(string configuration);
        void LoadConfiguration();

        void OpenURL(string url);
        void DownloadFile(string url);

        void Back();
        void ShowNotification(string text);

        void PlayAudio(string audioName, string looping);
        void StopAudio();
        void PlayVideo(string url);
        void PlayMusicBackground(string musicSource);
        void StopMusicBackground();
    }
}
